package club.haomoon.core.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "字典数据实体")
public class DictData implements Serializable {

    @TableId(value="id", type= IdType.AUTO)
   @Schema(title = "ID")
    private Integer id;

   @Schema(title = "类型")
    private Integer typeId;

   @Schema(title = "类型值")
    private String typeValue;

   @Schema(title = "键名")
    private String name;

   @Schema(title = "数值")
    private String value;

   @Schema(title = "备注")
    private String remark;

   @Schema(title = "排序")
    private Integer sort;

   @Schema(title = "状态: [0=停用, 1-正常]")
    private Integer status;

   @Schema(title = "创建时间")
    private Long createTime;

   @Schema(title = "更新时间")
    private Long updateTime;

   @Schema(title = "删除时间")
    private Long deleteTime;

}
